// import Index from "@/pages/jsx/index.jsx"
// import Index from "@/pages/state/index.jsx"
// import Index from "@/pages/condition/index.jsx"
// import Index from "@/pages/todolist/index.jsx"
// import Index from "@/pages/lifecycle/index.jsx"
// import Index from "@/pages/stateAdvance/index.jsx"
// import Index from "@/pages/modal/index.jsx"
// import Index from "@/pages/context/index.jsx"
// import Index from "@/pages/hoc/index.jsx"
// import Index from "@/pages/ref/index.jsx"
import Index from "@/pages/hooks/index.jsx"

// 在React中所有的组件名必须大写
function App() {
    return (
        <>
            <h1>App组件</h1>
            {/* <Index a="1" b="2"></Index> */}

            {/* 如果要在标签之间写东西，需要使用双标签 */}
            {/* 其它情况建议使用单标签 */}
            <Index />
        </>
    );
}
export default App;
